<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/common/taglibs.jspf" %>
<!DOCTYPE html>
<html>
<head>
    <title><spring:message code="sys.user.updateuser" /></title>
    <meta name="decorator" content="form"/>
</head>
<body class="white-bg"  formid="roleForm">
<div class="layui-col-md12 layui-col-sm12">
  <div class="layui-card">
    <div class="layui-card-body">
      <form:form id="roleForm" modelAttribute="data"  method="post" class="layui-form" lay-filter="component-form-group">
        <form:hidden path="id"/>
        <div class="layui-row layui-col-space2">
          <div class="layui-col-sm6">
            <label class="layui-form-label"><font color="red">*</font>角色名称:</label>
            <div class="layui-input-block">
              <form:input path="name" class="layui-input" datatype="*" nullmsg="请输入角色名称！" htmlEscape="false" />
              <label class="Validform_checktip"></label>
            </div>
          </div>
          <div class="layui-col-sm6">
            <label class="layui-form-label"><font color="red">*</font>角色编码:</label>
            <div class="layui-input-block">
              <form:input path="code" class="layui-input"  htmlEscape="false"  datatype="*"  nullmsg="请输入角色编码！"/>
              <label class="Validform_checktip"></label>
            </div>
          </div>
        </div>
        <div class="layui-row layui-col-space2">
          <div class="layui-col-sm6">
            <div class="layui-form-item">
              <label class="layui-form-label"><font color="red">*</font>是否系统:</label>
              <div class="layui-input-block">
                <form:radiobuttons path="isSys" dict="whether" defaultValue="0"  htmlEscape="false" cssClass="i-checks required" />
              </div>
            </div>
          </div>
          <div class="layui-col-sm6">
            <label class="layui-form-label"><font color="red">*</font>是否可用:</label>
            <div class="layui-input-inline">
              <form:radiobuttons path="usable"  dict="whether" defaultValue="1"  htmlEscape="false" cssClass="i-checks required" />
            </div>
          </div>
        </div>

        <div class="layui-form-item layui-form-text">
          <label class="layui-form-label"><font color="red">*</font>备注:</label>
          <div class="layui-input-block">
            <form:textarea path="remarks" htmlEscape="false" rows="3" maxlength="200" class="layui-textarea"/>
          </div>
        </div>
      </form:form>
    </div>
  </div>
</div>

</body>
</html>